Skip to content

Use the configured proxy host and port for the download #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 3, 2016

Conversation

mohlendo
Copy link

@mohlendo mohlendo commented Aug 2, 2016

Sadly for https download over proxy, we need a special http agent implementation. Added a simple one, too.

Fixes #14

@nidhimj22
Copy link
Contributor

@mohlendo Can you please fix the tests?

The message field is again an object that contains a message.
In order to receive the text, take that.
@mohlendo
Copy link
Author

mohlendo commented Aug 2, 2016

@nidhimj22 I have fixed the test. But the error wasn't related to my changes - should have been there before...

@nidhimj22
Copy link
Contributor

@mohlendo Thanks! Can you also write a test case for this? You can mock the proxy.

Testing download without and with a proxy
Use rimraf for recursive delete
The library version also runs with node v.0.10.x
@tr4n2uil tr4n2uil merged commit e37b881 into browserstack:master Aug 3, 2016
@tr4n2uil
Copy link
Contributor

tr4n2uil commented Aug 3, 2016

Awesomeness! Thanks @mohlendo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants